' Set these Constants by your Buttons Size As shown on the Status Bar
Const ButtonWidth = 19 ' Button Width In pixels
Const ButtonHeight = 16 ' Button Height In Pixels
' How Many Buttons Wide And High is the ToolBar?
Const BarWidth = 26 ' ToolBar Width In Buttons
Const BarHeight = 1 ' ToolBar Height In Buttons
Const PIXELS = 3 ' Scalemode
Dim ColX%, RowY%
' Required for copying bitmaps
Declare Function BitBlt Lib "GDI" (ByVal hDestDC As Integer, ByVal X As Integer, ByVal Y As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hSrcDC As Integer, ByVal XSrc As Integer, ByVal YSrc As Integer, ByVal dwRop As Long) As Integer
Sub ButtonBar_Click ()
' Display what would normally be an event for processing